import axios from '@/utils/request';

export function getSalaryDetailList(params) {
    return axios.post({
        url: '/salary-detail/list',
        data: params
    }).then((res) => {
        return res
    })
}

export function editSalaryDetail(params) {
    return axios.post({
        url: '/salary-detail/edit',
        data: params
    }).then((res) => {
        return res
    })
}

export function deleteSalaryDetail(params) {
    return axios.post({
        url: '/salary-detail/delete',
        data: params
    }).then((res) => {
        return res
    })
}

export function loadSalaryDetail(params) {
    return axios.post({
        url: '/salary-detail/load',
        data: params
    }).then((res) => {
        return res
    })
}

